package com.bd.rj.backstage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bd.rj.common.entity.Enterprise;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Property;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 白世俊
 * @since 2025-01-03
 */
@Mapper
public interface EnterpriseMapper extends BaseMapper<Enterprise> {

    public Page<Map<String,Object>> getEnterpriseByCondition(IPage<Map<String,Object>> page,@Param("enterprise")Enterprise enterprise);
    public void insertEnterpriseRecord(Map<String, Object> map);
    @Select("select * from industries")
    List<Map<String,Object>> getIndustries();
}
